<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        a {
            /*none-无下划线*/
            /*underline-下划线*/
            /*line-through-删除线*/
            /*overline-上划线*/
            text-decoration: none;
        }

        div {
            text-decoration: underline;
        }

        p {
            text-decoration: line-through;
        }

        h2 {
            text-decoration: overline;
        }
    </style>
</head>
<body>
<div>
    div
</div>
<p>
    ppp
</p>
<h2>
    h2
</h2>
<a href="http://www.baidu.com">这是一个百度超链接</a>
</body>
</html>